package com.summer.ioc.util;

import java.util.Collection;

/**
 * @author xiaoye
 * @create 2021-04-29 15:36
 */
public class CollectionUtils {

    public static boolean hasElement(Collection collection)
    {
        return collection != null && !collection.isEmpty();
    }
}
